package com.xzgj.fmmall.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "ProductComments对象",description = "商品评论信息")
public class ProductComments {
    @ApiModelProperty(dataType = "comment_id",value = "评论id",required = true)
    private String comment_id;
    @ApiModelProperty(dataType = "product_id",value = "商品id",required = true)
    private String product_id;
    @ApiModelProperty(dataType = "order_item_id",required = true,value = "订单项（商品快照）ID可为空")
    private String order_item_id;
    @ApiModelProperty(dataType = "user_id",required = true,value = "评论用户id")
    private String user_id;
    @ApiModelProperty(dataType = "is_anonymous",required = true,value = "是否匿名: 1.是 ；0.否")
    private String is_anonymous;
    @ApiModelProperty(dataType = "comm_type",required = true,value = "评论类型：1.好评；0.中评；-1差评")
    private String comm_type;
    @ApiModelProperty(dataType = "comm_level",required = true,value = "评论等级：1.好评；2.中评；3差评")
    private String comm_level;
    @ApiModelProperty(dataType = "comm_content",required = true,value = "评论内容")
    private String comm_content;
    @ApiModelProperty(dataType = "comm_imgs",required = true,value = "评论晒图（json）")
    private String comm_imgs;
    @ApiModelProperty(dataType = "sepc_name",required = true,value = "评价时间：可为空")
    private String sepc_name;
    @ApiModelProperty(dataType = "reply_status",required = true,value = "回复状态：0。未回复；1.已回复")
    private String reply_status;
    @ApiModelProperty(dataType = "reply_content",required = true,value = "回复内容")
    private String reply_content;
    @ApiModelProperty(dataType = "reply_time",required = true,value = "回复时间")
    private Date reply_time;
    @ApiModelProperty(dataType = "is_show",required = true,value = "是否显示: 1.是 ；0.否")
    private Date is_show;
    /**
     * 商品评论中没有用户信息，所以需要额外的属性，故新建一个VO：一条评论一个用户
     */

}
